﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VoiceAI;
using VoiceAI.VoiceResponse;
using Windows.Data.Json;

namespace XiaoweiVoiceAI.ResponseCreators
{
    internal static class SaleHelpResponseCreator
    {
        private class SaleHelpResponseData : ISaleHelpResponseData
        {
            public ResponseType ResponseType => ResponseType.SaleHelp;

            public ErrorCode ErrorCode => ErrorCode.NoError;
            public string RequestText { get; set; }
            public string ResponseText { get; set; }
            public string TTSUrl { get; set; }
            public bool RestoreInHistory => true;
            public object DataContext { get; set; }
        }

        public static IResponseData CreateResponseData(XiaoweiVoiceAI xiaoweiVoiceAI, XiaoweiV2.ResponseParam param)
        {
            SaleHelpResponseData saleHelpReponseData = new SaleHelpResponseData();
            saleHelpReponseData.RequestText = param.RequestText;
            return saleHelpReponseData;
        }

    }
 
}
